From cc87cdbd8331f5bf171478df3e51f724c6dd1d5f Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 15 Jun 2010 13:24:11 +0100 Subject: [PATCH] x86: fix guest wrmsr warning format During the recent MSR handling cleanup, the '0' format modifier got lost. Signed-off-by: Jan Beulich --- xen/arch/x86/traps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/traps.c b/xen/arch/x86/traps.c index 1d833beff6..5acf749b0d 100644 --- a/xen/arch/x86/traps.c +++ b/xen/arch/x86/traps.c @@ -2297,7 +2297,7 @@ static int emulate_privileged_op(struct cpu_user_regs *regs) (eax != (uint32_t)val) || (edx != (uint32_t)(val >> 32)) ) invalid: gdprintk(XENLOG_WARNING, "Domain attempted WRMSR %p from " - "0x%16"PRIx64" to 0x%16"PRIx64".\n", + "0x%016"PRIx64" to 0x%016"PRIx64".\n", _p(regs->ecx), val, msr_content); break; } -- 2.30.2